package org.jeecg.modules.supplier.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.jeecg.modules.supplier.entity.PdSupplier;
import org.jeecg.modules.supplier.mapper.PdSupplierMapper;
import org.jeecg.modules.supplier.service.PdSupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供应商表 服务实现类
 * </p>
 *
 * @author twm
 * @since 2021-11-03
 */
@Service
public class PdSupplierServiceImpl extends ServiceImpl<PdSupplierMapper, PdSupplier> implements PdSupplierService {

    @Autowired
    private PdSupplierMapper supplierMapper;

    @Override
    public Page<PdSupplier> findSupplierInfo(Page page,String supplierName) {


        return supplierMapper.findSupplierAllInfo(page,supplierName);
    }
}
